<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>


<body>
<style>
    div{width: 500px;height: 500px;position: fixed}
    .div1{background: red; left:20px}
    .div2{background: blue; left: 70px;top:50px;}
</style>

<div class="div1"></div>
<div class="div2"></div>

</body>

</html>
